package org.twb.o2o.service;

import org.twb.o2o.domain.User;

import java.util.List;

/**
 * Created by km on 2017/4/20.
 */
public interface UserService {

    User findById(Long id);
    List<User> findAll();
    void delete(Long id);
    void saveUser(User user);
    List<User> findAllByCondition(String userName);
}
